all:everone

tcpClient:tcpClient.cpp
	g++ $^ -o $@

.PHONY:everone
everone:
	g++ tcpServer.cpp ./LedgerCalculation/Common.cpp ./LedgerCalculation/LedgerCalculation.cpp -o tcpServer

.PHONY:tcpServer
tcpServer.o:tcpServer.cpp 
	g++ $^ -c $@ -std=c++17

.PHONY:common
common.o:./LedgerCalculation/Common.cpp
	g++ $^ -c $@ -std=c++17

.PHONY:LedgerCalculationexe
LedgerCalculation.o:./LedgerCalculation/LedgerCalculation.cpp
	g++ $^ -c $@ -std=c++17

clean:
	rm tcpServer

